﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
        {
            Dictionary<All> list = new Dictionary<All>();
            Random ran = new Random();
            Console.WriteLine("------------欢迎进入游戏世界------------");
            Console.WriteLine("***************************");
            Console.WriteLine("*********猜拳,开始*********");
            Console.WriteLine("***************************");
            Console.WriteLine("出拳规则：1.剪刀，2.石头，3.布");
            while (true)
            {
            Console.WriteLine("请选择对方角色：1.刘备  2.孙权  3.曹操");
            int a = int.Parse(Console.ReadLine());
            Console.WriteLine("请输入你的姓名：");
            Player p = new Player(Console.ReadLine());
            Console.WriteLine(p.Name + " VS " + a);
            Computer c = new Computer();
            c.go(p.Name, a);
            }
        }
    }
}
